package com.entor.sevice.impl;

import org.springframework.stereotype.Service;
import com.entor.model.Pupil;
import java.util.List;
import com.entor.dao.PupilDao;
import org.springframework.beans.factory.annotation.Autowired;
import com.entor.sevice.PupilServiceI;

/**
 * @author HQJ
 * @date 2017年10月27日
 */

@Service
public class PupilServiceImpl implements PupilServiceI{
  @Autowired
  public PupilDao bd;
  public List<Pupil> find(Pupil t) {
   return bd.find(t);
 }
  public int insert(Pupil t) {
   return bd.insert(t);
 }
  public int update(Pupil t) {
   return bd.update(t);
 }
  public int delete(String id) {
   return bd.delete(id);
 }

}